package com.yuzhenxin.bookstore.domain;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 订单类
 *
 * @author LENOVO
 */
@Data
public class Order {
    private String oid;
    private Date ordertime;
    private double total;
    private int state;// 1未付款 2已付款但未发货 3已发货但未确认收货4 已确认交易成功
    private User owner;
    private String address;

    private List<OrderItem> orderItemList;

}
